<div class="contentBox">
            <div class="contentBoxTop">
              <h3>Manage Category</h3>
            </div>
            <div class="innerContent">
                <p><a href="<?php echo $baseURL; ?>index.php/admin/category/insert" class="deleteLink"> Add Category</a></p>
                
                <form id="form2" name="form2" method="post" action="">
                <table class="sTable">
				<thead>
                  <tr>
                    <th><strong>ID</strong></th>
                    <th><strong>Name</strong></th>
                    <th><strong>Cate parent</strong></th>
     
                   
                    <th><strong>Order</strong></th>
                    
                    <th><strong>Action</strong></th>
                    </tr>
                </thead>
                
                <?php foreach ($list_cate as $category) {?>
                  <tr class="oddRow">
                    <td><?php echo $category['cate_id'];?></td>
                    <td style="text-align: left;"><?php echo $category['cate_name'];?></td>
                    <td><?php echo $category['parent_name'];?></td>
                   
                    <!--td><?php //echo $category['cate_path'];?></td-->
                    <td>
                        
                        <a href="<?php echo $baseURL; ?>admin/category/up/<?php echo $category['cate_id'] ;?>"><img src="<?php echo $baseURL; ?>publics/admin/images/up.png"></a>
                        <a href="<?php echo $baseURL; ?>admin/category/down/<?php echo $category['cate_id'] ;?>"><img src="<?php echo $baseURL; ?>publics/admin/images/down.png"></a>
                    </td>
                    
                    <td class="editItem"><ul>
                      <li class="iconEdit"><a href="<?php echo $baseURL; ?>admin/category/edit/<?php echo $category['cate_id'] ;?>">edit</a></li>
                      <li class="iconDel"><a href="<?php echo $baseURL; ?>admin/category/delete/<?php echo $category['cate_id'] ;?>" onclick="return confirm('confirm deleted?');">delete</a></li>
                    </ul></td>
                    </tr>
                <?php } ?>
                    
                   </table>
                    <p style="color: gold;">! No delete catelory parent</p>
              </form>
            </div><!--end of #box-3-->
          </div>